package com.example.siyun.mapper.usermapper;

import com.example.siyun.pojo.Apply;
import org.apache.ibatis.annotations.Mapper;

import java.util.Date;
import java.util.List;

@Mapper
public interface ApplyMapper {

    /**
     * 审核列表全部查询
     * @param applyName
     * @param applyAccount
     * @param applyTime
     * @return
     */
    List<Apply> getApp(String applyAccount, String applyName, String applyTime);

    /**
     * 条件查询(已批准，未审核，已驳回)
     * @param applyState
     * @return
     */
    void update(String applyId, String applyState);

    /**
     * 审核管理列表中未审核按钮
     * @param applyState
     * @return
     */
    List<Apply> getAudit(String applyState,String applyName, String applyAccount);
}
